package chapter19;

/**
 * @author lzy
 * @version v1.0
 * Create DateTime: 2019/4/2 20:35
 */
public enum OzWitch {
    SOUTH("first"),
    WEST("second"),
    EAST("third"),
    NORTH("last");

    private String description;

    OzWitch(String description) {
        this.description = description;
    }

    public static void main(String[] args) {
        for (OzWitch value : OzWitch.values()) {
            System.out.println(value.getDescription());
        }
    }

    public String getDescription() {
        return description;
    }
}
